home *** CD-ROM | disk | FTP | other *** search
/ Amiga News 95 / Amiga News 95.iso / dpat / dpat06 / spy / install_libs.script < prev    next >
Encoding:
Text File  |  1992-09-21  |  1.7 KB  |  75 lines

  1. FailAt 20
  2.  
  3. echo ""
  4. Echo "                Needed libs installation script"
  5. echo "                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
  6. echo ""
  7. echo "   This  script will copy the  following  libraries to your libs:"
  8. echo "   directory, but it'll check first if you already have a version"
  9. echo "   of each and ask you before copying it."
  10. echo ""
  11. echo "                      arp.library"
  12. Echo "                      rexxarplib.library"
  13. Echo "                      screenshare.library"
  14. echo ""
  15. Ask  "   O.K to continue?"
  16.  
  17. If WARN
  18.  
  19.     Echo ""
  20.     Version >NIL: LIBS:arp.library
  21.     If NOT ERROR
  22.         Echo "   Version of arp.library already installed:"
  23.         Version LIBS:arp.library
  24.         Echo ""
  25.     EndIf
  26.  
  27.     Ask  "   Copy arp.library to LIBS:?"
  28.  
  29.     If WARN
  30.         Copy libs/arp.library LIBS: QUIET
  31.         Echo "   arp.library copied to your LIBS: directory"
  32.     EndIf
  33.    
  34.    Echo ""
  35.     Version >NIL: LIBS:rexxarplib.library
  36.     If NOT ERROR
  37.         Echo "   Version of rexxarplib.library already installed:"
  38.         Version LIBS:rexxarplib.library
  39.         Echo ""
  40.     EndIf
  41.  
  42.     Ask  "   Copy rexxarplib.library to LIBS:?"
  43.  
  44.     If WARN
  45.         Copy libs/rexxarplib.library LIBS: QUIET
  46.         Echo "   rexxarplib.library copied to your LIBS: directory"
  47.     EndIf
  48.    
  49.    Echo ""
  50.     Version >NIL: LIBS:screenshare.library
  51.     If NOT ERROR
  52.         Echo "   Version of screenshare.library already installed:"
  53.         Version LIBS:screenshare.library
  54.         Echo ""
  55.     EndIf
  56.  
  57.     Ask  "   Copy screenshare.library to LIBS:?"
  58.  
  59.     If WARN
  60.         Copy libs/screenshare.library LIBS: QUIET
  61.         Echo "   screenshare.library copied to your LIBS: directory"
  62.     EndIf
  63.    
  64.    echo ""
  65.     Echo "   Installation complete. (the window will go away!!!)"
  66.     echo
  67.    Wait 5
  68.     EndCLI >NIL:
  69. EndIf
  70.  
  71. echo ""
  72. echo "  Installation aborted...."
  73. echo ""
  74. Echo "  Use the close gadget to get rid of the window"
  75. echo ""